<div class="searchOptions bottomPanelBorder" {$srchOpt_attrs}>
	
	<!-- Search panel content -->
	<div class="srchCritTop" style="display: none;">
		{mlang_message SEARCH_CRITERIA}:&nbsp;
		<input type="radio" name="srchType" {$all_checkbox}>{BEGIN all_checkbox_label}{mlang_message SEARCH_ALL}{END all_checkbox_label}
		&nbsp;&nbsp;&nbsp;
		<input type="radio" name="srchType" {$any_checkbox}>{BEGIN any_checkbox_label}{mlang_message SEARCH_ANY}{END any_checkbox_label}
	</div>
	
	<div class="addOption">
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideControlChooseMenu{$id}" class="runner-button" {$showHideCtrls_attrs}>{mlang_message SEARCH_ADD_FIELD}</a>
		</span>
		&nbsp;&nbsp;&nbsp;
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideSearchType{$id}" class="runner-button" {$showHideCtrlsOpt_attrs}>{$showHideOpt_mess}</a>
		</span>
	</div>
	
	<!-- choose controls div -->
	<div class="runner-panel controlChooseMenu" {$controlChooseMenuDiv_attrs}>
		{BEGIN addSearch_Category}
			<a href="#" id="addSearchControl_Category" class="addSearchControl" {$addSearchControl_Category_attrs}>{$label ppmain Category}</a><br>
		{END addSearch_Category}
		{BEGIN addSearch_Subcategory}
			<a href="#" id="addSearchControl_Subcategory" class="addSearchControl" {$addSearchControl_Subcategory_attrs}>{$label ppmain Subcategory}</a><br>
		{END addSearch_Subcategory}
		{BEGIN addSearch_Title}
			<a href="#" id="addSearchControl_Title" class="addSearchControl" {$addSearchControl_Title_attrs}>{$label ppmain Title}</a><br>
		{END addSearch_Title}
		{BEGIN addSearch_Price}
			<a href="#" id="addSearchControl_Price" class="addSearchControl" {$addSearchControl_Price_attrs}>{$label ppmain Price}</a><br>
		{END addSearch_Price}
		{BEGIN addSearch_Details}
			<a href="#" id="addSearchControl_Details" class="addSearchControl" {$addSearchControl_Details_attrs}>{$label ppmain Details}</a><br>
		{END addSearch_Details}
	</div>
	
	<table class="controlsBlock">
	{BEGIN searchCtrlBlock}
		<tr class="srchPanelRow" {$filterRow_attrs}>
			<td class="srchPanelCell">{$delCtrlButt}</td>
			<td class="srchPanelCell">{$fLabel}:&nbsp;</td>
			<td class="srchPanelCell srchPanelCell2">{$searchtype} {$searchcontrol} {$searchcontrol1}</td>
		</tr>
	{END searchCtrlBlock}
	</table>
	
	<div class="bottomSearchButt" align="left" {$bottomSearchButt_attrs}>
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button" {$searchbutton_attrs}>{mlang_message SEARCH}</a>
		</span>
	</div>
</div>
